package com.ethink.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.order.api.info.TobSaleSettlementOrderInfo;
import com.ethink.order.api.request.TobSaleSettlementOrderAddRequest;
import com.ethink.order.api.request.TobSaleSettlementOrderUpdateRequest;
import com.ethink.order.api.request.TobSaleSettlementPageQueryRequest;
import com.ethink.order.api.response.TobSaleSettlementQueryDetailResponse;

/**
 * TOB销售结算单 Service接口
 *
 * @author default
 * @date 2022-11-17
 */
public interface TobSaleSettlementOrderService {

    void add(TobSaleSettlementOrderAddRequest request);

    Integer delete(Long id);

    Integer update(TobSaleSettlementOrderUpdateRequest updateRequest);

    Page<TobSaleSettlementOrderInfo> pageQuery(TobSaleSettlementPageQueryRequest request);

    TobSaleSettlementQueryDetailResponse queryDetail(Long id);

    Integer matchConfirm(Long id);
}